package xin.yangshuai.mysql01.model;

import java.io.Serializable;

/**
 * test_user
 *
 * @author todo
 * @date 2023/11/02
 */
public class TestUser implements Serializable {

    private RealUser realUser;

    public TestUser() {
        realUser = new RealUser();
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return realUser.getId();
    }

    public void setId(Integer id) {
        realUser.setId(id);
    }

    public String getName() {
        return realUser.getName();
    }

    public void setName(String name) {
        realUser.setName(name == null ? null : name.trim());
    }

    public Integer getAge() {
        return realUser.getAge();
    }

    public void setAge(Integer age) {
        realUser.setAge(age);
    }
}